package com.eeepay.eeepay_v2.model;

import android.text.TextUtils;

import java.io.Serializable;

/**
 * Created by zw on 2016/5/5 0005.
 * 交易超级查询条件
 */
public class TradeQueryCri extends SuperQueryBaseCri implements Serializable {

    private String cardType;
    private String cardNum;
    private String tradeStatus;
    private String merchantName;

    public TradeQueryCri(){
        super();
        cardType = "";
        cardNum = "";
        tradeStatus = "";
        merchantName = "";
    }

    public String getCardType() {
        if("借记卡".equals(cardType)){
            return "2";
        }else if("贷记卡".equals(cardType)){
            return "1";
        }
        return "";
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getTradeStatus() {
        return tradeStatus;
    }

    public void setTradeStatus(String tradeStatus) {
        this.tradeStatus = tradeStatus;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }
}
